.class Lcom/xingbook/group/activity/ad;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/group/activity/ac;


# direct methods
.method constructor <init>(Lcom/xingbook/group/activity/ac;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    const-wide/16 v2, 0x0

    const/16 v7, 0xc8

    const/16 v1, 0x14

    const/4 v6, 0x1

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-static {v0}, Lcom/xingbook/group/activity/ac;->a(Lcom/xingbook/group/activity/ac;)Lcom/xingbook/group/activity/GroupMinePostActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMinePostActivity;->c(Lcom/xingbook/group/activity/GroupMinePostActivity;)I

    move-result v0

    if-ne v0, v6, :cond_1

    invoke-static {}, Lcom/xingbook/group/c/a;->a()Lcom/xingbook/group/c/a;

    move-result-object v0

    iget-object v5, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-static {v5}, Lcom/xingbook/group/activity/ac;->a(Lcom/xingbook/group/activity/ac;)Lcom/xingbook/group/activity/GroupMinePostActivity;

    move-result-object v5

    invoke-static {v5}, Lcom/xingbook/group/activity/GroupMinePostActivity;->d(Lcom/xingbook/group/activity/GroupMinePostActivity;)Ljava/util/ArrayList;

    move-result-object v5

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/group/c/a;->b(IJILjava/util/ArrayList;)Lcom/xingbook/park/e/c;

    move-result-object v0

    :goto_0
    if-eqz v0, :cond_3

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->e()I

    move-result v1

    if-ne v1, v7, :cond_3

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->a()I

    move-result v1

    if-nez v1, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v1

    instance-of v1, v1, Ljava/lang/Long;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-static {v1}, Lcom/xingbook/group/activity/ac;->a(Lcom/xingbook/group/activity/ac;)Lcom/xingbook/group/activity/GroupMinePostActivity;

    move-result-object v1

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->f()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    invoke-static {v1, v2, v3}, Lcom/xingbook/group/activity/GroupMinePostActivity;->a(Lcom/xingbook/group/activity/GroupMinePostActivity;J)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-static {v0}, Lcom/xingbook/group/activity/ac;->a(Lcom/xingbook/group/activity/ac;)Lcom/xingbook/group/activity/GroupMinePostActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMinePostActivity;->b(Lcom/xingbook/group/activity/GroupMinePostActivity;)Lcom/xingbook/group/activity/ae;

    move-result-object v0

    invoke-virtual {v0, v7, v6, v4}, Lcom/xingbook/group/activity/ae;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    :goto_1
    iget-object v0, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-static {v0}, Lcom/xingbook/group/activity/ac;->a(Lcom/xingbook/group/activity/ac;)Lcom/xingbook/group/activity/GroupMinePostActivity;

    move-result-object v0

    invoke-static {v0, v4}, Lcom/xingbook/group/activity/GroupMinePostActivity;->a(Lcom/xingbook/group/activity/GroupMinePostActivity;Z)V

    return-void

    :cond_1
    invoke-static {}, Lcom/xingbook/group/c/a;->a()Lcom/xingbook/group/c/a;

    move-result-object v0

    iget-object v5, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-static {v5}, Lcom/xingbook/group/activity/ac;->a(Lcom/xingbook/group/activity/ac;)Lcom/xingbook/group/activity/GroupMinePostActivity;

    move-result-object v5

    invoke-static {v5}, Lcom/xingbook/group/activity/GroupMinePostActivity;->d(Lcom/xingbook/group/activity/GroupMinePostActivity;)Ljava/util/ArrayList;

    move-result-object v5

    invoke-virtual/range {v0 .. v5}, Lcom/xingbook/group/c/a;->a(IJILjava/util/ArrayList;)Lcom/xingbook/park/e/c;

    move-result-object v0

    goto :goto_0

    :cond_2
    iget-object v1, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-static {v1}, Lcom/xingbook/group/activity/ac;->a(Lcom/xingbook/group/activity/ac;)Lcom/xingbook/group/activity/GroupMinePostActivity;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/group/activity/GroupMinePostActivity;->b(Lcom/xingbook/group/activity/GroupMinePostActivity;)Lcom/xingbook/group/activity/ae;

    move-result-object v1

    const/4 v2, 0x2

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Lcom/xingbook/group/activity/ae;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/xingbook/group/activity/ad;->a:Lcom/xingbook/group/activity/ac;

    invoke-static {v0}, Lcom/xingbook/group/activity/ac;->a(Lcom/xingbook/group/activity/ac;)Lcom/xingbook/group/activity/GroupMinePostActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMinePostActivity;->b(Lcom/xingbook/group/activity/GroupMinePostActivity;)Lcom/xingbook/group/activity/ae;

    move-result-object v0

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/ae;->sendEmptyMessage(I)Z

    goto :goto_1
.end method
